package com.ruoyi.webInfor.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 案例展示详情对象 case_information
 * 
 * @author ruoyi
 * @date 2021-12-20
 */
public class CaseInformation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private String id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 图片路径 */
    @Excel(name = "图片路径")
    private String img;

    /** 类别 */
    @Excel(name = "类别")
    private String type;

    /** 是否首页展示 */
    @Excel(name = "是否首页展示")
    private String ishome;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setImg(String img) 
    {
        this.img = img;
    }

    public String getImg() 
    {
        return img;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setIshome(String ishome) 
    {
        this.ishome = ishome;
    }

    public String getIshome() 
    {
        return ishome;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("img", getImg())
            .append("type", getType())
            .append("ishome", getIshome())
            .toString();
    }
}
